#include "plc2llvm/PLCSymbols/PLCSymbol.h"

#include <utility>

PLCSymbol::PLCSymbol() {

}

PLCSymbol::PLCSymbol(int symbolId, std::string name, PLCScope *location):
    symbolId(symbolId), name(std::move(name)), location(location) {

}

void PLCSymbol::setSymbolId(int symbolId) {
    this->symbolId = symbolId;
}

int PLCSymbol::getSymbolId() {
    return this->symbolId;
}

void PLCSymbol::setName(std::string name) {
    this->name = std::move(name);
}

std::string PLCSymbol::getName() {
    return this->name;
}

void PLCSymbol::setLocation(PLCScope *location) {
    this->location = location;
}

PLCScope* PLCSymbol::getLocation() {
    return this->location;
}
